
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.MedicinePrice;
import cn.edu.scau.cmi.hombio.domain.MedicineStorage;
import cn.edu.scau.cmi.hombio.domain.MedicineStorageDetail;
import cn.edu.scau.cmi.hombio.domain.Supplier;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for MedicineStorage entities
 * 
 */
public interface MedicineStorageService {

	/**
	* Delete an existing Employee entity
	* 
	 */
	public MedicineStorage deleteMedicineStorageEmployee(Integer medicinestorage_id, Integer related_employee_id);

	/**
	* Return all MedicineStorage entity
	* 
	 */
	public List<MedicineStorage> findAllMedicineStorages(Integer startResult, Integer maxRows);

	/**
	* Load an existing MedicineStorage entity
	* 
	 */
	public Set<MedicineStorage> loadMedicineStorages();

	/**
	* Save an existing MedicineStorageDetail entity
	* 
	 */
	public MedicineStorage saveMedicineStorageMedicineStorageDetails(Integer id, MedicineStorageDetail related_medicinestoragedetails);

	/**
	* Delete an existing Supplier entity
	* 
	 */
	public MedicineStorage deleteMedicineStorageSupplier(Integer medicinestorage_id_1, Integer related_supplier_id);

	/**
	 */
	public MedicineStorage findMedicineStorageByPrimaryKey(Integer id_1);

	/**
	* Return a count of all MedicineStorage entity
	* 
	 */
	public Integer countMedicineStorages();

	/**
	* Delete an existing MedicinePrice entity
	* 
	 */
	public MedicineStorage deleteMedicineStorageMedicinePrices(Integer medicinestorage_id_2, Integer related_medicineprices_id);

	/**
	* Delete an existing MedicineStorage entity
	* 
	 */
	public void deleteMedicineStorage(MedicineStorage medicinestorage);

	/**
	* Save an existing MedicinePrice entity
	* 
	 */
	public MedicineStorage saveMedicineStorageMedicinePrices(Integer id_2, MedicinePrice related_medicineprices);

	/**
	* Save an existing Employee entity
	* 
	 */
	public MedicineStorage saveMedicineStorageEmployee(Integer id_3, Employee related_employee);

	/**
	* Save an existing Supplier entity
	* 
	 */
	public MedicineStorage saveMedicineStorageSupplier(Integer id_4, Supplier related_supplier);

	/**
	* Save an existing MedicineStorage entity
	* 
	 */
	public void saveMedicineStorage(MedicineStorage medicinestorage_1);

	/**
	* Delete an existing MedicineStorageDetail entity
	* 
	 */
	public MedicineStorage deleteMedicineStorageMedicineStorageDetails(Integer medicinestorage_id_3, Integer related_medicinestoragedetails_id);
}